<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<base target="_self" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="css/ts_css.css" rel="stylesheet" type="text/css" />
<script src="js/WdatePicker.js" type="text/javascript"></script>
<script src="js/selectProject.js" type="text/javascript"></script>
<script src="js/IndexManager.js" type="text/javascript"></script>
<!-- 日期插件，使用jquery -->
<script type="text/javascript" src="jquery/jquery-1.4.2.js"></script>
<link rel="stylesheet" href="jquery/jquery.datepick.css" type="text/css">
<script type="text/javascript" src="jquery/jquery.datepick.js"></script>
<script type="text/javascript" src="jquery/jquery.datepick-zh-CN.js"></script>
<script type="text/javascript">
	function page_Close() {
		/*    if (window.parent != null) {
		       window.parent.close();
		   }
		   else {
		       window.close();
		   } */
		location.href = "houseType.do";
	}
</script>
</head>
<body>
	<form method="post" action="houseType_add.do" id="form1">
		<!-- <input type="hidden" name="changeId"  value="UUID()"/> -->



		<div id="divTwo">
			<table width="100%" border="0" cellpadding="2" cellspacing="2"
				class="table_list1">
				<tr>
					<td width="15%" class="table_list1_style1"><span
						style="color: Red">*</span> 户型名称</td>
					<td width="35%" class="table_list1_style2"><input
						name="apartmentLayout" type="text" value="" id="apartmentLayout" />
						<span id="RequiredFieldValidator8" style="display: none;">不能为空</span>
					</td>
				</tr>
				<!--  <tr>
                <td class="table_list1_style1">
                    <span style="color: Red">*</span> 项目开始时间
                </td>
                <td class="table_list1_style2">
                    <input name="startTime" type="text" value="" id="startTime"
                        onfocus="WdatePicker({ readOnly: true,skin:&#39;whyGreen&#39;,dateFmt:&#39;HH:mm&#39;})" />
                    <span id="RequiredFieldValidator9" style="display: none;">不能为空</span>
                </td>
                <td class="ta_01" bgColor="#ffffff">
						<input type="text" name="startTime" size="20" value="" readonly="readonly" id="startTime"/>
					</td>
            </tr>
            <tr>
                <td class="table_list1_style1">
                    <span style="color: Red">*</span> 项目结束时间
                </td>
                <td class="table_list1_style2">
                    <input name="endTime" type="text" value="" id="endTime"
                        onfocus="WdatePicker({ readOnly: true,skin:&#39;whyGreen&#39;,dateFmt:&#39;HH:mm&#39;})" />
                    <span id="RequiredFieldValidator2" style="display: none;">不能为空</span>
                </td>
                <td class="ta_01" bgColor="#ffffff">
						<input type="text" name="endTime" size="20" value="" readonly="readonly" id="endTime"/>
					</td>
            </tr>
            <tr>
                <td class="table_list1_style1">
                    <span style="color: Red">*</span> 创建人id
                </td>
                <td class="table_list1_style2">
                    <input name="createUserId" type="text" value="" id="createUserId"
                        onfocus="WdatePicker({ readOnly: true,skin:&#39;whyGreen&#39;,dateFmt:&#39;H:mm&#39;})" />
                    <span id="RequiredFieldValidator4" style="display: none;">不能为空</span>
                </td>
            </tr>
            <tr id="isVisible">
                <td class="table_list1_style1">
                    <span style="color: Red">*</span> 备注
                </td>
                <td class="table_list1_style2">
                    <input name="remark" type="text" value="" id="remark"
                        onfocus="WdatePicker({ readOnly: true,skin:&#39;whyGreen&#39;,dateFmt:&#39;H:mm&#39;})" />
                    <span id="RequiredFieldValidator6" style="display: none;">不能为空</span>
                </td>
            </tr> -->
				<tr>
					<td class="table_list1_style1">&nbsp;</td>
					<td class="table_list1_style2">
						<!--  <input type="button" name="btnUpdate" value="修改" id="btnUpdate" tabindex="1" class="button" /> -->
						<input type="submit" name="btnUpdate" value="创建" id="btnUpdate"
						tabindex="1" class="button" /> &nbsp;&nbsp; <input id="btnBack"
						type="button" class="button" value="关闭" onclick="page_Close()" />
					</td>
				</tr>
			</table>
		</div>
		<!--  <input type="hidden" name="hidUuid" id="hidUuid" value="039809E6DDCD496798BF5F24E0AD6EB9" />
    <input type="hidden" name="hidProductId" id="hidProductId" value="103872" /> -->
		<script type="text/javascript">
			//<![CDATA[
			var Page_Validators = new Array(document
					.getElementById("RequiredFieldValidator8"), document
					.getElementById("RequiredFieldValidator9"), document
					.getElementById("RequiredFieldValidator2"), document
					.getElementById("RequiredFieldValidator4"), document
					.getElementById("RequiredFieldValidator6"));
			//]]>
		</script>
		<script type="text/javascript">
			//<![CDATA[
			var RequiredFieldValidator8 = document.all ? document.all["RequiredFieldValidator8"]
					: document.getElementById("RequiredFieldValidator8");
			RequiredFieldValidator8.controltovalidate = "txtRespectivePro";
			RequiredFieldValidator8.errormessage = "不能为空";
			RequiredFieldValidator8.display = "Dynamic";
			RequiredFieldValidator8.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
			RequiredFieldValidator8.initialvalue = "";
			var RequiredFieldValidator9 = document.all ? document.all["RequiredFieldValidator9"]
					: document.getElementById("RequiredFieldValidator9");
			RequiredFieldValidator9.controltovalidate = "txtMorningBeginTime";
			RequiredFieldValidator9.errormessage = "不能为空";
			RequiredFieldValidator9.display = "Dynamic";
			RequiredFieldValidator9.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
			RequiredFieldValidator9.initialvalue = "";
			var RequiredFieldValidator2 = document.all ? document.all["RequiredFieldValidator2"]
					: document.getElementById("RequiredFieldValidator2");
			RequiredFieldValidator2.controltovalidate = "txtMorningEndTime";
			RequiredFieldValidator2.errormessage = "不能为空";
			RequiredFieldValidator2.display = "Dynamic";
			RequiredFieldValidator2.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
			RequiredFieldValidator2.initialvalue = "";
			var RequiredFieldValidator4 = document.all ? document.all["RequiredFieldValidator4"]
					: document.getElementById("RequiredFieldValidator4");
			RequiredFieldValidator4.controltovalidate = "txtAfternoonBeginTime";
			RequiredFieldValidator4.errormessage = "不能为空";
			RequiredFieldValidator4.display = "Dynamic";
			RequiredFieldValidator4.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
			RequiredFieldValidator4.initialvalue = "";
			var RequiredFieldValidator6 = document.all ? document.all["RequiredFieldValidator6"]
					: document.getElementById("RequiredFieldValidator6");
			RequiredFieldValidator6.controltovalidate = "txtAfternoonEndTime";
			RequiredFieldValidator6.errormessage = "不能为空";
			RequiredFieldValidator6.display = "Dynamic";
			RequiredFieldValidator6.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
			RequiredFieldValidator6.initialvalue = "";
			//]]>
		</script>
		<script type="text/javascript">
			//<![CDATA[

			var Page_ValidationActive = false;
			if (typeof (ValidatorOnLoad) == "function") {
				ValidatorOnLoad();
			}

			function ValidatorOnSubmit() {
				if (Page_ValidationActive) {
					return ValidatorCommonOnSubmit();
				} else {
					return true;
				}
			}
			//]]>

			$(document).ready(function() {
				//使用class属性处理  'yy-mm-dd' 设置格式"yyyy/mm/dd"
				$('#startTime').datepick({
					dateFormat : 'yy-mm-dd'
				});
				$('#endTime').datepick({
					dateFormat : 'yy-mm-dd'
				});
			});
		</script>
	</form>
</body>
</html>
